package com.gang.ssm.bos.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gang.ssm.bos.system.bean.Workbill;
import com.gang.ssm.bos.system.bean.WorkbillExample;

public interface WorkbillMapper {
    long countByExample(WorkbillExample example);

    int deleteByExample(WorkbillExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Workbill record);

    int insertSelective(Workbill record);

    List<Workbill> selectByExample(WorkbillExample example);

    Workbill selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Workbill record, @Param("example") WorkbillExample example);

    int updateByExample(@Param("record") Workbill record, @Param("example") WorkbillExample example);

    int updateByPrimaryKeySelective(Workbill record);

    int updateByPrimaryKey(Workbill record);

	public List<Workbill> findByLimit(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize);
}